package com.neusoft.qmdata.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;

/**
 * @Description: QM_FACILITY
 * @Author: jeecg-boot
 * @Date:   2019-12-30
 * @Version: V1.0
 */
@Data
@TableName("qm_facility")
public class QmFacility implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**主键id*/
	@TableId(type = IdType.ID_WORKER_STR)
    private java.lang.String id;
	/**部门编码（来源组织机构）*/
	@Excel(name = "部门编码（来源组织机构）", width = 15)
    private java.lang.String departId;
	/**设备类型编码（来源类型）*/
	@Excel(name = "设备类型编码（来源类型）", width = 15)
    private java.lang.String typeId;
	/**资产编码*/
	@Excel(name = "资产编码", width = 15)
    private java.lang.String facilityNo;
	/**设备编码*/
	@Excel(name = "设备编码", width = 15)
    private java.lang.String facilityCode;
	/**设备名称*/
	@Excel(name = "设备名称", width = 15)
    private java.lang.String facilityName;
	/**上级设备编码*/
	@Excel(name = "上级设备编码", width = 15)
	private java.lang.String parentId;
	/**规格型号*/
	@Excel(name = "规格型号", width = 15)
    private java.lang.String model;
	/**重量*/
	@Excel(name = "重量", width = 15)
    private java.math.BigDecimal weight;
	/**运行单位（字典）*/
	@Excel(name = "运行单位（字典）", width = 15)
    private java.lang.String measureUnit;
	/**设备价值*/
	@Excel(name = "设备价值", width = 15)
    private java.math.BigDecimal baseValue;
	/**购买日期*/
	@Excel(name = "购买日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date purchaseDate;
	/**出厂日期*/
	@Excel(name = "出厂日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date leaveFactoryDate;
	/**开始使用日期*/
	@Excel(name = "开始使用日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date beginUseDate;
	/**保修期限*/
	@Excel(name = "保修期限", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date warrantiesDate;
	/**数据来源*/
	@Excel(name = "数据来源", width = 15)
    private java.lang.String dataSource;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    private java.lang.String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    private java.lang.String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date updateTime;
	/**状态（1启用 0不启用）*/
	@Excel(name = "状态（1启用 0不启用）", width = 15)
    private java.lang.Integer status;
}
